package com.gw.quotes.net.service;

import org.ksoap2.serialization.SoapObject;

import com.gw.quotes.net.NewException;
import com.gw.quotes.net.Request;
import com.gw.quotes.net.Response;

/**
 * 商品信息 -未知
 * 
 * @author Administrator
 *
 */
public class GoodsInfoQueryServiceImpl extends WebBaseServiceImpl{
	@Override
	public Response setResponse() {
		return new Response();
	}
	@Override
	public void checkParam(Request request) throws NewException {
		if (request == null) {
			throw new NewException(Response.RESULT_ERROR, "传入request不能为空");
		}
	}

	@Override
	public void setParamByRequest(Request request, SoapObject rpc)
			throws NewException {
		if (request.getPriceguid() == null
				|| request.getPriceguid().trim().equals("")) {
			return;
		}
		rpc.addProperty("priceguid", request.getPriceguid());
	}

	@Override
	public String getMethodName() throws NewException {
		return "未知";
	}

	@Override
	public void resolveResponse(Object object, Response response)
			throws NewException {
		// TODO Auto-generated method stub
		
	}

}
